define servicegroup {
    servicegroup_name   bodhi
    alias               Bodhi
    members         {% for host in groups['bodhi2'] %}{{host}}, http-bodhi2-internal, {% endfor %}{% for host in groups['proxies'] %}{{host}}, http-bodhi2  {% if not loop.last %} , {% endif %} {% endfor %}

}

